package com.demo.entity;

public class QuestionBankEntity {
    private int id;
    private String questionName;
    private String type;
    private int score;
    private String optionList;
    private String rightOption;

    public QuestionBankEntity(int id, String questionName, String type, int score, String optionList, String rightOption) {
        this.id = id;
        this.questionName = questionName;
        this.type = type;
        this.score = score;
        this.optionList = optionList;
        this.rightOption = rightOption;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getOptionList() {
        return optionList;
    }

    public void setOptionList(String optionList) {
        this.optionList = optionList;
    }

    public String getRightOption() {
        return rightOption;
    }

    public void setRightOption(String rightOption) {
        this.rightOption = rightOption;
    }

    @Override
    public String toString() {
        return "QuestionBankEntity{" +
                "id=" + id +
                ", questionName='" + questionName + '\'' +
                ", type='" + type + '\'' +
                ", score=" + score +
                ", optionList='" + optionList + '\'' +
                ", rightOption='" + rightOption + '\'' +
                '}';
    }
}
